﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;

namespace TopBuilds.Restaurant.ManagementClient
{
    /// <summary>
    /// TOC.xaml 的交互逻辑
    /// </summary>
    public partial class NavigatePage : Page
    {
        public NavigatePage()
        {
            InitializeComponent();
        }

        private void OnSelectDepartment(object sender, RoutedEventArgs e)
        {
            Navigation.Source = new Uri("Employee/DepartmentManagement.xaml", UriKind.Relative);
        }

        private void OnSelectEmployee(object sender, RoutedEventArgs e)
        {
            Navigation.Source = new Uri("Employee/EmployeeManagement.xaml", UriKind.Relative);
        }

        private void OnSelectPrivilege(object sender, RoutedEventArgs e)
        {
            Navigation.Source = new Uri("Employee/PrivilegeManagement.xaml", UriKind.Relative);
        }

        private void OnSelectMember(object sender, RoutedEventArgs e)
        {
            Navigation.Source = new Uri("Member/MemberManagement.xaml", UriKind.Relative);
        }
    }
}
